using System;
using Impact.Model.Objects;

namespace Impact.Views
{
    /// <summary>
    /// interface for view that supports profile editing
    /// </summary>
    public interface IProfileEditorView : IPageView
    {

        /// <summary>
        /// given the profile, populates the form with data from the page
        /// </summary>
        void PopulateForm( Profile page );

        /// <summary>
        /// reads data from a from and populates a page object with it
        /// </summary>
        Profile RetrieveFormData();

    }
}
